package com.yklx.youke;

import com.yklx.youke.entity.*;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan(basePackages = "com.yklx.youke")
@EntityScan(basePackages = "com.yklx.youke.entity")
@MapperScan(basePackages = "com.yklx.youke.admin.mapper")
public class YoukeApplication {

    public static void main(String[] args) {
        SpringApplication.run(YoukeApplication.class, args);
    }

}